﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CarCricketMatchApp
{
    /// <summary>
    /// play next ball message event args
    /// </summary>
    public class PlayNextBallEventArgs :EventArgs
    {
        private Vehicle nextBall;

        public Vehicle NextBall
        {
            get { return nextBall; }
            set { nextBall = value; }
        }
        public PlayNextBallEventArgs(Vehicle nextball):base()
        {
            this.nextBall = nextball;
        }
    }
}
